package com.example.boke.entity;

import java.util.Date;

public class Boke {

    private Integer id;
    private String title;//博客标题
    private String author;//发布作者
    private String content;//博客正文内容
    private String url;//图片路径
    private Date creatde;//发布日期
    private Integer viewCount;//浏览数量
    private Integer likeCount;//点赞数量
    private Integer userId;//发布用户id

    @Override
    public String toString() {
        return "Boke{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", content='" + content + '\'' +
                ", url='" + url + '\'' +
                ", creatde=" + creatde +
                ", viewCount=" + viewCount +
                ", likeCount=" + likeCount +
                ", userId=" + userId +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getCreatde() {
        return creatde;
    }

    public void setCreatde(Date creatde) {
        this.creatde = creatde;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}